package cn.iocoder.yudao.module.ai.controller.admin.creationwork.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - AI 创作作品新增/修改 Request VO")
@Data
public class CreationWorkSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18063")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "25555")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "创作模型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24250")
    @NotNull(message = "创作模型id不能为空")
    private Long aiCreationModelId;

    @Schema(description = "平台", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "平台不能为空")
    private String platform;

    @Schema(description = "模型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "模型不能为空")
    private String model;

    @Schema(description = "生成内容提示", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "生成内容提示不能为空")
    private String prompt;

    @Schema(description = "生成的内容")
    private String generatedContent;

}